package one.stand.mapper;

import one.stand.model.Address;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author qik
 */
public interface AddressMapperExt extends AddressMapper {
    int updateIsdefault(@Param("userId") Integer userId);

    List<Address> select(@Param("userId") Integer userId);

    Address selectDefault(@Param("userId") Integer userId);
}